package cn.edu.hstc.wm.bean;

import java.io.Serializable;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

@SuppressWarnings("serial")
public class Store implements Serializable {

	private Integer id;// 店铺id
	private String name;// 店铺名称
	private String introdution;// 店铺简介
	private String address;// 店铺地址
	private String long_number;// 店铺长号
	private String short_number;// 店铺短号
	private String imageName;// 店铺图片名称
	private double score;// 店铺分数
	private Integer speed;// 店铺送餐速度
	private Integer group;// 店铺赞助排序
	private Integer start_price;// 店铺起价
	private Integer send_price;// 店铺送餐价格
	private Integer suport_send;// 店铺是否支持送餐,1为支持，0为不支持
	private Integer suport_SMS;// 店铺是否支持短信,1为支持，0为不支持
	private Integer suport_order;// 店铺是否支持订餐,1为支持，0为不支持
	private Integer suport_call;// 店铺是否支持拨号,1为支持，0为不支持
	private String shop_time;// 店铺经营时间�?
	private Category category;// 店铺�?��分类，表示与分类的多对一关系
	private Set<Good> good = new HashSet<Good>();// 店铺有哪些商品，表示与商品的关系
	private List<Comment> comments;// 店铺拥有评论，表示与评论的一对多关系

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getIntrodution() {
		return introdution;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setIntrodution(String introdution) {
		this.introdution = introdution;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLong_number() {
		return long_number;
	}

	public void setLong_number(String long_number) {
		this.long_number = long_number;
	}

	public String getShort_number() {
		return short_number;
	}

	public void setShort_number(String short_number) {
		this.short_number = short_number;
	}

	public String getImageName() {
		return imageName;
	}

	public void setImageName(String imageName) {
		this.imageName = imageName;
	}

	public double getScore() {
		return score;
	}

	public void setScore(double score) {
		this.score = score;
	}

	public Integer getSpeed() {
		return speed;
	}

	public void setSpeed(Integer speed) {
		this.speed = speed;
	}

	public Integer getGroup() {
		return group;
	}

	public void setGroup(Integer group) {
		this.group = group;
	}

	public Integer getStart_price() {
		return start_price;
	}

	public void setStart_price(Integer start_price) {
		this.start_price = start_price;
	}

	public Integer getSend_price() {
		return send_price;
	}

	public void setSend_price(Integer send_price) {
		this.send_price = send_price;
	}

	public Integer getSuport_send() {
		return suport_send;
	}

	public void setSuport_send(Integer suport_send) {
		this.suport_send = suport_send;
	}

	public Integer getSuport_SMS() {
		return suport_SMS;
	}

	public void setSuport_SMS(Integer suport_SMS) {
		this.suport_SMS = suport_SMS;
	}

	public Integer getSuport_order() {
		return suport_order;
	}

	public void setSuport_order(Integer suport_order) {
		this.suport_order = suport_order;
	}

	public Integer getSuport_call() {
		return suport_call;
	}

	public void setSuport_call(Integer suport_call) {
		this.suport_call = suport_call;
	}

	public String getShop_time() {
		return shop_time;
	}

	public void setShop_time(String shop_time) {
		this.shop_time = shop_time;
	}

	public List<Comment> getComments() {
		return comments;
	}

	public void setComments(List<Comment> comments2) {
		this.comments = comments2;
	}

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public Set<Good> getGoods() {
		return good;
	}

	public void setGoods(Set<Good> good) {
		this.good = good;
	}

	@Override
	public String toString() {
		return "Store [id=" + id + ", name=" + name + ", introdution=" + introdution + ", address=" + address + ", long_number=" + long_number + ", short_number=" + short_number + ", imageName=" + imageName + ", score=" + score + ", speed=" + speed + ", group=" + group + ", start_price=" + start_price + ", send_price=" + send_price + ", suport_send=" + suport_send + ", suport_SMS=" + suport_SMS + ", suport_order=" + suport_order + ", suport_call=" + suport_call + ", shop_time=" + shop_time + ", category=" + category + ", good=" + good + ", comments=" + comments + "]";
	}

}
